export default [
  {
    path: "/knowledgeComputation",
    component: () => import("@/views/layout/home"),
    alwaysShow: true,
    redirect: "/knowledgeComputation/knowledgeFusion",
    meta: {
      title: "知识计算",
      icon: "el-icon-cpu",
      roles: ["superAdmin", "commonAdmin"],
    },
    children: [
      {
        path: "knowledgeFusion",
        component: () => import("@/views/knowledgeComputation/knowledgeFusion/Index"),
        name: "KnowledgeFusion",
        meta: {
          title: "知识融合",
          roles: ["superAdmin", "commonAdmin"],
        },
      },
      {
        path: "knowledgeFusion/detail",
        component: () => import("@/views/knowledgeComputation/knowledgeFusion/detail/Index"),
        name: "KnowledgeFusionDetail",
        hidden: true,
        meta: {
          title: "知识融合",
          roles: ["superAdmin", "commonAdmin"],
          activeMenu: '/knowledgeComputation/knowledgeFusion'

        },
      },
      {
        path: "fusionRule",
        component: () => import("@/views/knowledgeComputation/fusionRule/Index"),
        name: "FusionRule",
        meta: {
          title: "融合规则",
          roles: ["superAdmin", "commonAdmin"],
        },
      },
      {
        path: "knowledgeCompletion",
        component: () => import("@/views/knowledgeComputation/knowledgeCompletion/Index"),
        name: "KnowledgeCompletion",
        meta: {
          title: "知识补全",
          roles: ["superAdmin", "commonAdmin"],
        },
      },
      {
        path: "completionRule",
        component: () => import("@/views/knowledgeComputation/completionRule/Index"),
        name: "CompletionRule",
        meta: {
          title: "补全规则",
          roles: ["superAdmin", "commonAdmin"],
        },
      },
      {
        path: "completionRule/opera",
        component: () => import("@/views/knowledgeComputation/completionRule/opera/Index"),
        name: "CompletionRuleOpera",
        hidden: true,
        meta: {
          title: "补全规则",
          roles: ["superAdmin", "commonAdmin"],
          activeMenu: '/knowledgeComputation/completionRule'
        },
      },
    ],
  },
];
